export default {
  common: {
    noData: "No data available",
    createBtn: {
      create: "Create",
      tweet: "Tweet",
      topic: "Post",
      article: "Article",
    },
    loadMore: {
      loadMore: "Load more",
      noMore: "No more data",
    },
    message: "Message",
    header: {
      profile: "Profile",
      favorites: "Favorites",
      editProfile: "Edit Profile",
      logout: "Sign out",
      login: "Sign in",
      confirmLogout: "Are you sure you want to logout?",
    },
  },
  layout: {
    profile: {
      profile: "Profile",
      accountSettings: "Account Settings",
    },
  },
  user: {
    profile: {
      title: "Profile",
      backToProfile: "Back to Profile",
      avatar: "Avatar",
      nickname: "Nickname",
      nicknamePlaceholder: "Please enter nickname",
      signature: "Signature",
      signaturePlaceholder: "Introduce yourself in one sentence",
      homepage: "Homepage",
      homepagePlaceholder: "Please enter homepage URL",
      save: "Save",
      editSuccess: "Profile updated successfully",
      editFailed: "Failed to update profile",
      account: {
        title: "Account Settings",
        username: "Username",
        email: "Email",
        password: "Password",
        wechat: "WeChat",
        verified: "Verified",
        set: "Set",
        modify: "Modify",
        verify: "Verify",
        bind: "Bind",
        unbind: "Unbind",
        passwordSet: "Set",
        passwordNotSet: "Not set",
        wechatBound: "Bound",
        wechatNotBound: "Not bound",
        emailVerifySuccess:
          "Email has been sent to your mailbox: {email}, please check.",
        emailVerifyFailed: "Failed to send email",
        unbindSuccess: "Unbound successfully",
        unbindFailed: "Failed to unbind",
        confirmUnbind: "Are you sure you want to unbind?",
      },
    },
    email: {
      verify: {
        title: "Email Verification",
        success:
          "Congratulations, email verification successful. Your email is: {email}",
        failed: "Email verification failed",
        reason: "Reason: {reason}",
        retryInstructions: ", please go to",
        accountSettings: "Profile > Account Settings",
        retryAction: "page to try resending the verification email.",
      },
    },
    favorites: {
      title: "Favorites",
      contentExpired: "Favorite content expired",
    },
    messages: {
      title: "Messages",
      viewDetails: "Click to view details>>",
    },
    scores: {
      title: "Score Records",
      gainPoints: "Gained Points",
      losePoints: "Lost Points",
    },
    signup: {
      title: "Sign up",
      nickname: "Nickname",
      nicknamePlaceholder: "Please enter nickname",
      email: "Email",
      emailPlaceholder: "Please enter email",
      password: "Password",
      passwordPlaceholder: "Please enter password",
      passwordHelp: "Password must be at least 6 characters long.",
      confirmPassword: "Confirm Password",
      confirmPasswordPlaceholder: "Please enter password again",
      signupBtn: "Sign up",
      alreadyHaveAccount: "Already have an account? Sign in>>",
      nicknameRequired: "Please enter nickname",
      emailRequired: "Please enter email",
      passwordRequired: "Please enter password",
      passwordMismatch: "Passwords do not match",
    },
    signin: {
      title: "Sign in",
      passwordLogin: "Sign in",
      password: {
        usernamePlaceholder: "Please enter username or email",
        passwordPlaceholder: "Please enter password",
        loginBtn: "Sign in",
        noAccount: "No account? Click here to sign up>>",
        usernameRequired: "Please enter username or email",
        passwordRequired: "Please enter password",
      },
      sms: {
        phonePlaceholder: "Please enter phone number",
        smsCodePlaceholder: "Please enter SMS verification code",
        getSmsCode: "Get SMS code",
        loginBtn: "Sign in",
        phoneError: "Please enter a valid phone number",
        smsCodeRequired: "Please enter SMS verification code first",
        agreeTerms: "Login means you agree to",
        userAgreement: "User Agreement",
        agreeTermsError: "Please agree to the User Agreement first",
      },
    },
  },
  component: {
    searchInput: {
      placeholder: "Search",
    },
    checkIn: {
      title: "Check In",
      alreadyCheckedIn: "Already checked in today",
      checkInNow: "Check In Now",
      checkInSuccess: "Check in successful",
      consecutiveDays: "You have checked in for {days} consecutive days!",
      todayRanking: "Today's Ranking",
    },
    articleList: {
      publishedAt: "Published at",
    },
    articleManageMenu: {
      manage: "Manage",
      edit: "Edit",
      delete: "Delete",
      forbidden7Days: "Ban 7 days",
      forbiddenForever: "Ban forever",
      forbiddenSuccess: "User banned successfully",
      forbiddenFailed: "Failed to ban user",
      confirmDelete: "Are you sure you want to delete this article?",
      deleteSuccess: "Article deleted successfully",
      deleteFailed: "Failed to delete article: ",
    },
    avatarEdit: {
      update: "Update",
      updateSuccess: "Avatar updated successfully",
      updateFailed: "Failed to update avatar",
    },
    comment: {
      title: "Comments",
      emailVerifyPrompt: "Please go to",
      accountSettingsLink: "Profile > Account Settings",
      emailVerifyAction:
        "page to set up email and complete email verification.",
      loginLink: "Please login to post your comment",
      input: {
        replyTo: "Reply:",
        cancelReply: "Cancel reply",
        pleaseInput: "Please enter comment content",
        publishSuccess: "Published successfully",
      },
      list: {
        ipLocation: "IP location",
        like: "Like",
        liked: "Liked",
        reply: "Reply",
        cancelReply: "Cancel reply",
        publishSuccess: "Published successfully",
      },
      subList: {
        replyTo: "Reply to",
        like: "Like",
        liked: "Liked",
        reply: "Reply",
        cancelReply: "Cancel reply",
        loadMore: "Load more replies",
      },
    },
    setEmailDialog: {
      title: "Set Email",
      emailPlaceholder: "Please enter email",
      success: "Email set successfully",
    },
    setPasswordDialog: {
      title: "Set Password",
      passwordPlaceholder: "Please enter password",
      rePasswordPlaceholder: "Please enter password again",
      success: "Password set successfully",
    },
    setUsernameDialog: {
      title: "Set Username",
      usernamePlaceholder: "Please enter username",
      usernameRule:
        "Username can only be set once, please operate carefully. Username must consist of 5-12 characters (numbers, letters, _, -) and must start with a letter.",
      success: "Username set successfully",
    },
    updatePasswordDialog: {
      title: "Update Password",
      oldPasswordPlaceholder: "Please enter current password",
      newPasswordPlaceholder: "Please enter new password",
      rePasswordPlaceholder: "Please enter new password again",
      success: "Password updated successfully",
    },
    wxBindDialog: {
      title: "WeChat Binding",
      scanTip: "Please scan the QR code to bind WeChat",
    },
    dialog: {
      ok: "OK",
      cancel: "Cancel",
    },
    captcha: {
      title: "Please drag the slider to complete the puzzle",
    },
    fansWidget: {
      title: "Fans",
      more: "More",
    },
    followWidget: {
      title: "Following",
      more: "More",
    },
    followBtn: {
      follow: "Follow",
      followed: "Followed",
    },
    friendLinks: {
      title: "Friend Links",
      more: "More",
    },
    imageUpload: {
      uploading: "Uploading...",
      confirmDelete: "Are you sure you want to delete this content?",
      deleteTitle: "Confirm",
      confirmButton: "OK",
      cancelButton: "Cancel",
      sizeLimitError: "Image size cannot exceed {size} MB",
      countLimitError: "You can upload at most {limit} images",
    },
    myCounts: {
      title: "Information",
      score: "Score",
      topicCount: "Topics",
      commentCount: "Comments",
      registrationRank: "Rank #",
    },
    myFooter: {
      about: "About",
      links: "Links",
    },
    myProfile: {
      title: "Profile",
      editProfile: "Edit Profile",
      nickname: "Nickname",
      description: "Description",
      homePage: "Home Page",
    },
    scoreRank: {
      title: "Score Rank",
      topic: "Topics",
      comment: "Comments",
    },
    search: {
      all: "All",
      recommend: "Recommend",
      timeRange: {
        all: "All",
        day: "Today",
        week: "Week",
        month: "Month",
        year: "Year",
      },
    },
    siteNotice: {
      title: "Notice",
    },
    tagInput: {
      placeholder: "Tags",
      recommendTags: "Recommend Tags",
    },
    textEditor: {
      placeholder: "Please enter your content",
      publish: "Publish",
      pleaseWait: "Please wait for image upload to complete",
    },
    topicList: {
      sticky: "Sticky",
      publishedAt: "Published at",
      likeSuccess: "Liked successfully",
      unlikeSuccess: "Like cancelled",
    },
    topicManageMenu: {
      manage: "Manage",
      edit: "Edit",
      delete: "Delete",
      recommend: "Recommend",
      cancelRecommend: "Cancel Recommend",
      sticky: "Sticky",
      cancelSticky: "Cancel Sticky",
      forbidden7Days: "Ban 7 days",
      forbiddenForever: "Ban forever",
      forbiddenSuccess: "User banned successfully",
      forbiddenFailed: "Failed to ban user",
      confirmDelete: "Are you sure you want to delete this topic?",
      deleteSuccess: "Topic deleted successfully",
      deleteFailed: "Failed to delete topic: ",
      confirmAction: "Are you sure you want to {action} this topic?",
      actionSuccess: "{action} successfully",
      actionFailed: "Failed to {action}: ",
    },
    userCenterSidebar: {
      operations: "Operations",
      removeForbidden: "Remove Ban",
      forbidden7Days: "Ban 7 days",
      forbiddenForever: "Ban forever",
      confirmForbidden: "Are you sure you want to ban this user?",
      confirmForbiddenForever:
        "Are you sure you want to permanently ban this user?",
      dialogTitle: "Confirm",
      confirmButtonText: "OK",
      cancelButtonText: "Cancel",
      forbiddenSuccess: "User banned successfully",
      forbiddenFailed: "Failed to ban user",
      removeForbiddenSuccess: "Ban removed successfully",
      removeForbiddenFailed: "Failed to remove ban",
    },
    userInfo: {
      score: "Score",
      topicCount: "Topics",
      commentCount: "Comments",
      registrationRank: "Rank #",
    },
    userProfile: {
      setBackground: "Set Background",
      backgroundSuccess: "Background set successfully",
    },
  },
  pages: {
    user: {
      profile: "Profile",
      personalCenter: "Personal Center",
      topics: "Topics",
      articles: "Articles",
      fans: "Fans",
      followed: "Following",
    },
    links: {
      title: "Friend Links",
    },
    redirect: {
      link: "Click the link to continue >>",
      error: "The page you visited has an error!",
    },
    install: {
      title: "BBS-GO Installation Guide",
      step: {
        welcome: "Welcome",
        database: "Database Configuration",
        site: "Site Information",
        admin: "Administrator Setup",
        language: "Language Settings",
        install: "Installing",
        complete: "Installation Complete",
      },
      welcome: {
        description:
          "Welcome to BBS-GO, a community system developed based on Go language. Before starting the installation, please make sure you have prepared the following:",
        requirements: {
          mysql: "MySQL database (5.7+) with an empty database created",
          site: "Planned community name and description",
          admin: "Administrator account and password ready",
        },
        guide: "Next, we will guide you through the installation process.",
      },
      database: {
        host: "Database Host",
        hostPlaceholder: "Database host address (required)",
        hostHelp:
          "Usually localhost or 127.0.0.1, fill in the corresponding host address if using remote database",
        port: "Database Port",
        portPlaceholder: "Database port (required)",
        name: "Database Name",
        namePlaceholder: "Please enter database name (required)",
        username: "Database Username",
        usernamePlaceholder: "Please enter database username (required)",
        password: "Database Password",
        passwordPlaceholder: "Please enter database password",
        testConnection: "Test Connection",
        testing: "Testing",
        connectSuccess: "Database connection successful",
        connectFailed: "Database connection failed",
        validationError: "Please fill in complete database information",
      },
      site: {
        title: "Site Name",
        titlePlaceholder: "Please enter site name (required)",
        description: "Site Description",
        descriptionPlaceholder: "Please enter site description",
        validationError: "Please fill in site name",
      },
      admin: {
        username: "Administrator Username",
        usernamePlaceholder: "Please enter administrator username (required)",
        password: "Administrator Password",
        passwordPlaceholder: "Please enter administrator password (required)",
        confirmPassword: "Confirm Password",
        confirmPasswordPlaceholder:
          "Please enter administrator password again (required)",
        usernameError: "Please fill in administrator username",
        passwordError: "Please fill in administrator password",
        confirmPasswordError: "Please confirm administrator password",
        passwordMismatchError: "The two passwords entered are inconsistent",
      },
      language: {
        title: "Choose Language",
        description: "Please select the default language for the system:",
        chinese: "简体中文",
        english: "English",
      },
      install: {
        preparing: "Preparing installation...",
        connecting: "Connecting to database...",
        completed: "Installation completed!",
        failed: "Installation failed",
        unknown: "Unknown error",
        requestFailed: "Installation request failed",
      },
      complete: {
        congratulations:
          "Congratulations, BBS-GO has been successfully installed!",
        description: "You can now start using your community system.",
        enterSite: "Homepage",
        enterAdmin: "Admin Dashboard",
      },
      buttons: {
        next: "Next",
        previous: "Previous",
        install: "Install",
      },
      common: {
        required: "*",
      },
    },
    topics: {
      title: "Topics",
    },
    topic: {
      detail: {
        pending: "This topic is under review",
        publishedAt: "Published at",
        ipLocation: "IP location",
        hideContent: "Hidden content",
        hideContentTip: "Hidden content, please reply to view",
        view: "View",
        like: "Like",
        likeSuccess: "Liked successfully",
        favorite: "Favorite",
        favoriteSuccess: "Favorited successfully",
      },
      create: {
        needEmailTitle: "Please verify your email first",
        needEmailBody: "Before posting, please set and verify your email. ",
        goVerify: "Go to verify >>",
        post: "Post",
        tweet: "Tweet",
        titlePlaceholder: "Please enter the post title",
        contentPlaceholder: "Please enter your content...",
        postBtn: "Publish",
        tweetBtn: "Publish",
        switchEditorConfirm:
          "Switching the editor will clear the current content, continue?",
        imageUploading: "Image uploading, please try again later...",
      },
      edit: {
        title: "Edit",
        pageTitle: "Edit",
        titlePlaceholder: "Please enter the post title",
        contentPlaceholder: "Please enter your content...",
        submitBtn: "Submit",
        switchEditorConfirm:
          "Switching the editor will clear the current content, continue?",
        success: "Edit successful",
        failed: "Submit failed: {msg}",
      },
    },
    article: {
      detail: {
        pending: "This article is under review",
        publishedAt: "Published at",
      },
      create: {
        needEmailTitle: "Please verify your email first",
        needEmailBody:
          "Before posting an article, please set and verify your email.",
        goVerify: "Go to verify >>",
        title: "New Article",
        titlePlaceholder: "Title",
        contentPlaceholder: "Please enter your content...",
        tagsPlaceholder: "Please enter tags",
        cover: "Cover",
        publishBtn: "Publish",
        publishing: "Publishing...",
        success: "Submitted successfully",
        error: "Submission failed",
        featureClosed: "Article feature is not enabled",
        featureForbidden: "Article feature is disabled",
      },
      edit: {
        title: "Edit Article",
        titlePlaceholder: "Please enter the article title",
        contentPlaceholder: "Please enter the article content",
        submitBtn: "Submit Changes",
        editSuccess: "Edit successful",
        editFailed: "Submit failed: ",
      },
    },
    error: {
      notFound: "Page not found",
      forbidden: "Forbidden",
      unknown: "Error",
      backHome: "Back to Home",
    },
    about: {
      title: "About Us",
      desc: "BBS-GO is a modern, high-performance open source community forum system. Our design philosophy is lightweight, efficient, easy to extend and deploy, aiming to provide developers and community managers with a powerful online community solution.",
      featuresTitle: "Core Features",
      feature1Title: "High Performance:",
      feature1: " Ensures smooth user experience even under high load.",
      feature2Title: "Highly Flexible:",
      feature2:
        " Supports rich custom configurations and plugin extensions to easily meet business needs in different scenarios.",
      feature3Title: "Easy to Use:",
      feature3:
        " A simple and powerful admin panel makes community management easy and efficient.",
      feature4Title: "Stable & Reliable:",
      feature4: " Ensures system stability and good scalability.",
      feature5Title: "Responsive Design:",
      feature5:
        " Perfectly adapts to desktop and mobile devices, providing a consistent experience.",
      joinTitle: "Join Us",
      joinDesc:
        "BBS-GO is a vibrant open source project. We welcome all forms of contribution, including code, feature suggestions, documentation, and bug reports.",
      github: "GitHub:",
      gitee: "Gitee:",
      contributors: "Contributors:",
      contributorsList: "Contributors List",
      licenseTitle: "Open Source License",
      licenseDesc: "BBS-GO follows the",
      licenseDesc2: "open source license.",
      contactTitle: "Contact & Support",
      contactDesc:
        "If you encounter any problems or have business cooperation needs, please contact us through the following ways.",
      community: "Community:",
      docs: "Docs:",
    },
  },
  composables: {
    justNow: "just now",
    minutesAgo: "{n} minutes ago",
    hoursAgo: "{n} hours ago",
    daysAgo: "{n} days ago",
    pleaseSignIn: "Please sign in first",
    unknownError: "Unknown error",
  },
};
